<a href="#" onclick="javascript:none()" class="parent"><span><g:message code="nav.tab.admin" default="Admin"/></span></a>
    <ul>
        <shiro:hasPermission permission="profile:index">
            <li>
                <a href="${createLink(controller: 'profile', action : 'index')}"><span><g:message code="admin.profile.label" default="Profile"/></span></a>
            </li>
        </shiro:hasPermission>
        <shiro:hasPermission permission="recordType:index">
            <li>
                <a href="${createLink(controller: 'recordType', action : 'index')}"><span><g:message code="admin.recordType.label" default="RecordType"/></span></a>
            </li>
        </shiro:hasPermission>
        <shiro:hasPermission permission="pageLayout:index">
            <li>
                <a href="${createLink(controller: 'pageLayout', action : 'index')}"><span><g:message code="admin.pageLayout.label" default="Page Layout"/></span></a>
            </li>
        </shiro:hasPermission>
        <shiro:hasPermission permission="group:index">
            <li>
                <a href="${createLink(controller: 'group', action : 'index')}"><span><g:message code="admin.group.label" default="Group"/></span></a>
            </li>
        </shiro:hasPermission>
        <shiro:hasPermission permission="shareRole:index">
            <li>
                <a href="${createLink(controller: 'shareRole', action : 'index')}"><span><g:message code="admin.shareRole.label" default="ShareRole"/></span></a>
            </li>
        </shiro:hasPermission>
    </ul>
